<template>
  <div class="app">
    <router-view name="default"></router-view>
    <router-view name="bottom" :key="Date.now()"></router-view>
    <!-- <routerView class="footer" name="bottom" /> -->
  </div>
</template>
<script>
export default {
  name: 'app'
}
</script>
<style lang="less" scoped>
.app {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  .body {
    flex: 1;
    overflow: hidden;
  }
  .footer {
    height: 50px;
  }
}
</style>
